package com.lagou.service.impl;

import com.lagou.api.HelloService;
import com.lagou.util.DubboTraffic;
import org.apache.dubbo.config.annotation.Service;

@Service
public class HelloServiceImpl implements HelloService {

    @Override
    public void sayHello(String name) {
        String ip = DubboTraffic.requestIp();
        System.out.println("hello 1 ip:" + ip);
        System.out.println("say:" + name);
    }
}
